﻿@using Tienda.Models
@model BuscarProductoModel
@{
    ViewBag.Title = "BuscarProductos";
}
<script src="~/Scripts/jquery-2.0.3.js"></script>
<script src="~/Scripts/jquery-2.0.3.min.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
<div id="formingcliente">
    <div class="wrapper">
        <img src="~/Content/img/post-divider.png" />
        <br />
        <br />
        <h2>Buscar Productos</h2>
        <br />
        <br />
        @using (Html.BeginForm("BuscarProductos", "Producto", FormMethod.Post))
        {
            @Html.DisplayNameFor(b => b.Nombre)
            @Html.TextBoxFor(b => b.Nombre)
            @Html.ValidationMessageFor(b => b.Nombre)<br />
            <input type="submit" value="Buscar" />
            <br />
            <br />
        }
        @Html.Partial("_Producto", ViewData["per"])
        <br />
        <img src="~/Content/img/post-divider-inverted.png" />
    </div>
</div>

